package cn.xydpeng.springframework.core.annotation;

import cn.xydpeng.springframework.core.Ordered;

/**
 * @author xydpeng
 * @version v1.0
 * @date: 2022/10/22
 * @description:
 */
abstract class AnnotationsScanner {

    public static boolean hasPlainJavaAnnotationsOnly(Class<?> clazz) {
        return (clazz.getName().startsWith("java.") || clazz == Ordered.class);
    }
}
